package com.hbx.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hbx
 * @since 2022-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Pk对象", description="")
public class Pk implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "pk发布人id")
    private Integer pkPublicUserId;

    @ApiModelProperty(value = "pk标题")
    private String pkTitle;

    @ApiModelProperty(value = "pk内容")
    private String pkContent;

    @ApiModelProperty(value = "pk发布时间")
    private Date pkPublishTime;

    @ApiModelProperty(value = "0、未删除，1、已删除")
    private Integer pkDelete;

    @ApiModelProperty(value = "1、进行中，2、已结束")
    private Integer pkStatus;

    @ApiModelProperty(value = "结束时间")
    private Date pkEndTime;
}
